home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: List manager
- Sent: 5/15/96 1:30 PM
- Received: 5/17/96 9:03 AM
- From: Bernhard Damberger, damberge@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- We had a project here at Apple that required a list part. The list manager
- that ODF R1 was going to provide at the time was not going to be
- sufficient, and in fact had not been implimented at the time. So I ported
- the MacApp list manager into ODF and made a part out of it.
-
- >I believe MacApp has similar TGridView and TTextGridView classes.
- I created FW_CGridView as well as FW_CTextGridView, including iterators,
- etc. Note, that the FW_CGridView does NOT manage your list data, it just
- handles organizing it for drawing, etc (just like MacApp's).
-
- >
- > I think ODF needs much more generalized table classes than just a
- >one-dimensional text list....
- Thats what FW_CGridView is used for.
-
- > There can also
- >be a HighlightCell method that can be overridden to change the way
- >different cells are highlighted.
- Hilighting has been implimented. Unfortunately scrolling has not, and must
- be done at the Frame level (though that has been implemented for the part).
- So to get scrolling you need to add the FW_CGridView to a frame. It can't
- scroll on its own.
-
- The list part also impliments an extension API for adding text items to the
- list. It might be interesting as an example on how to write ODF
- extensions. (You could also look at the Semantic interface code from ODF R1
- as an example on how to write extensions.)
-
- We are going to place the list part and the ported MacApp code on the
- unsupported tools page some time in the near future. This code is NOT
- supported and is NOT part of the official ODF R1 release, and may never be!
- It has not gone through any QA process. We are just going to put it
- there as UNSUPPORTED example code. Standard legealease applies. I will
- announce when the NautAList (as its called) part is available (next couple
- of days?).
-
- Bernhard Damberger
- ODF QA Guy
- damberge@apple.com
-
-